package com.xy.servicemanage.service;
import com.ruoyi.common.core.domain.servicemanage.dto.ServiceQueryCondition;
import com.ruoyi.common.core.domain.servicemanage.dto.ServiceTreeNode;

import java.util.List;

public interface IServiceTreeService {
    /**
     * 获取完整的服务树形结构
     */
    List<ServiceTreeNode> getFullServiceTree(ServiceQueryCondition condition);

    /**
     * 根据一级标题ID获取子树
     */
    ServiceTreeNode getSubTreeByFirstLevelId(Long firstLevelId);
}